package com.wx_shop.admin.domain.gen;

import java.io.Serializable;
import java.util.Date;

public class SuperProOrder implements Serializable {
    private Integer id;

    /**
     * 订单ID对应微信
     */
    private String outTradeNo;

    private Integer uid;

    /**
     * 订单状态:1等待买家付款、2买家已付款、3卖家已发货、4交易成功、5交易关闭(付款、确认收货、退款、评价、投诉)
     */
    private Integer status;

    /**
     * 总金额
     */
    private String sumAmount;

    /**
     * 省
     */
    private String province;

    /**
     * 市
     */
    private String city;

    /**
     * 区
     */
    private String district;

    /**
     * 全地址
     */
    private String address;

    /**
     * 联系人名称
     */
    private String contacts;

    /**
     * 邮编
     */
    private String postcode;

    private String mobile;

    private String email;

    /**
     * 邮费
     */
    private String expressPrice;

    private String expressType;

    private String expressCode;

    private String remark;

    /**
     * 发货时间
     */
    private Date deliveryTime;

    /**
     * 付款时间
     */
    private Date payTime;

    /**
     * 支付备注
     */
    private String payRemark;

    /**
     * 下单时间
     */
    private Date createTime;

    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 订单ID对应微信
     */
    public String getOutTradeNo() {
        return outTradeNo;
    }

    /**
     * 订单ID对应微信
     */
    public void setOutTradeNo(String outTradeNo) {
        this.outTradeNo = outTradeNo;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    /**
     * 订单状态:1等待买家付款、2买家已付款、3卖家已发货、4交易成功、5交易关闭(付款、确认收货、退款、评价、投诉)
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * 订单状态:1等待买家付款、2买家已付款、3卖家已发货、4交易成功、5交易关闭(付款、确认收货、退款、评价、投诉)
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * 总金额
     */
    public String getSumAmount() {
        return sumAmount;
    }

    /**
     * 总金额
     */
    public void setSumAmount(String sumAmount) {
        this.sumAmount = sumAmount;
    }

    /**
     * 省
     */
    public String getProvince() {
        return province;
    }

    /**
     * 省
     */
    public void setProvince(String province) {
        this.province = province;
    }

    /**
     * 市
     */
    public String getCity() {
        return city;
    }

    /**
     * 市
     */
    public void setCity(String city) {
        this.city = city;
    }

    /**
     * 区
     */
    public String getDistrict() {
        return district;
    }

    /**
     * 区
     */
    public void setDistrict(String district) {
        this.district = district;
    }

    /**
     * 全地址
     */
    public String getAddress() {
        return address;
    }

    /**
     * 全地址
     */
    public void setAddress(String address) {
        this.address = address;
    }

    /**
     * 联系人名称
     */
    public String getContacts() {
        return contacts;
    }

    /**
     * 联系人名称
     */
    public void setContacts(String contacts) {
        this.contacts = contacts;
    }

    /**
     * 邮编
     */
    public String getPostcode() {
        return postcode;
    }

    /**
     * 邮编
     */
    public void setPostcode(String postcode) {
        this.postcode = postcode;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    /**
     * 邮费
     */
    public String getExpressPrice() {
        return expressPrice;
    }

    /**
     * 邮费
     */
    public void setExpressPrice(String expressPrice) {
        this.expressPrice = expressPrice;
    }

    public String getExpressType() {
        return expressType;
    }

    public void setExpressType(String expressType) {
        this.expressType = expressType;
    }

    public String getExpressCode() {
        return expressCode;
    }

    public void setExpressCode(String expressCode) {
        this.expressCode = expressCode;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    /**
     * 发货时间
     */
    public Date getDeliveryTime() {
        return deliveryTime;
    }

    /**
     * 发货时间
     */
    public void setDeliveryTime(Date deliveryTime) {
        this.deliveryTime = deliveryTime;
    }

    /**
     * 付款时间
     */
    public Date getPayTime() {
        return payTime;
    }

    /**
     * 付款时间
     */
    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    /**
     * 支付备注
     */
    public String getPayRemark() {
        return payRemark;
    }

    /**
     * 支付备注
     */
    public void setPayRemark(String payRemark) {
        this.payRemark = payRemark;
    }

    /**
     * 下单时间
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 下单时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", outTradeNo=").append(outTradeNo);
        sb.append(", uid=").append(uid);
        sb.append(", status=").append(status);
        sb.append(", sumAmount=").append(sumAmount);
        sb.append(", province=").append(province);
        sb.append(", city=").append(city);
        sb.append(", district=").append(district);
        sb.append(", address=").append(address);
        sb.append(", contacts=").append(contacts);
        sb.append(", postcode=").append(postcode);
        sb.append(", mobile=").append(mobile);
        sb.append(", email=").append(email);
        sb.append(", expressPrice=").append(expressPrice);
        sb.append(", expressType=").append(expressType);
        sb.append(", expressCode=").append(expressCode);
        sb.append(", remark=").append(remark);
        sb.append(", deliveryTime=").append(deliveryTime);
        sb.append(", payTime=").append(payTime);
        sb.append(", payRemark=").append(payRemark);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        SuperProOrder other = (SuperProOrder) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getOutTradeNo() == null ? other.getOutTradeNo() == null : this.getOutTradeNo().equals(other.getOutTradeNo()))
            && (this.getUid() == null ? other.getUid() == null : this.getUid().equals(other.getUid()))
            && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
            && (this.getSumAmount() == null ? other.getSumAmount() == null : this.getSumAmount().equals(other.getSumAmount()))
            && (this.getProvince() == null ? other.getProvince() == null : this.getProvince().equals(other.getProvince()))
            && (this.getCity() == null ? other.getCity() == null : this.getCity().equals(other.getCity()))
            && (this.getDistrict() == null ? other.getDistrict() == null : this.getDistrict().equals(other.getDistrict()))
            && (this.getAddress() == null ? other.getAddress() == null : this.getAddress().equals(other.getAddress()))
            && (this.getContacts() == null ? other.getContacts() == null : this.getContacts().equals(other.getContacts()))
            && (this.getPostcode() == null ? other.getPostcode() == null : this.getPostcode().equals(other.getPostcode()))
            && (this.getMobile() == null ? other.getMobile() == null : this.getMobile().equals(other.getMobile()))
            && (this.getEmail() == null ? other.getEmail() == null : this.getEmail().equals(other.getEmail()))
            && (this.getExpressPrice() == null ? other.getExpressPrice() == null : this.getExpressPrice().equals(other.getExpressPrice()))
            && (this.getExpressType() == null ? other.getExpressType() == null : this.getExpressType().equals(other.getExpressType()))
            && (this.getExpressCode() == null ? other.getExpressCode() == null : this.getExpressCode().equals(other.getExpressCode()))
            && (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()))
            && (this.getDeliveryTime() == null ? other.getDeliveryTime() == null : this.getDeliveryTime().equals(other.getDeliveryTime()))
            && (this.getPayTime() == null ? other.getPayTime() == null : this.getPayTime().equals(other.getPayTime()))
            && (this.getPayRemark() == null ? other.getPayRemark() == null : this.getPayRemark().equals(other.getPayRemark()))
            && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
            && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getOutTradeNo() == null) ? 0 : getOutTradeNo().hashCode());
        result = prime * result + ((getUid() == null) ? 0 : getUid().hashCode());
        result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
        result = prime * result + ((getSumAmount() == null) ? 0 : getSumAmount().hashCode());
        result = prime * result + ((getProvince() == null) ? 0 : getProvince().hashCode());
        result = prime * result + ((getCity() == null) ? 0 : getCity().hashCode());
        result = prime * result + ((getDistrict() == null) ? 0 : getDistrict().hashCode());
        result = prime * result + ((getAddress() == null) ? 0 : getAddress().hashCode());
        result = prime * result + ((getContacts() == null) ? 0 : getContacts().hashCode());
        result = prime * result + ((getPostcode() == null) ? 0 : getPostcode().hashCode());
        result = prime * result + ((getMobile() == null) ? 0 : getMobile().hashCode());
        result = prime * result + ((getEmail() == null) ? 0 : getEmail().hashCode());
        result = prime * result + ((getExpressPrice() == null) ? 0 : getExpressPrice().hashCode());
        result = prime * result + ((getExpressType() == null) ? 0 : getExpressType().hashCode());
        result = prime * result + ((getExpressCode() == null) ? 0 : getExpressCode().hashCode());
        result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode());
        result = prime * result + ((getDeliveryTime() == null) ? 0 : getDeliveryTime().hashCode());
        result = prime * result + ((getPayTime() == null) ? 0 : getPayTime().hashCode());
        result = prime * result + ((getPayRemark() == null) ? 0 : getPayRemark().hashCode());
        result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
        result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
        return result;
    }
}